﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Path="CompanyPages" Name="CompanyPages" Url="$Resources:cmscore,List_Pages_UrlName;" RootWebOnly="False">
    <File Path="add.aspx"  Type="GhostableInLibrary" Name="add.aspx" Url="add.aspx">
      <Property Name="Title" Value="$Resources:Companies,AddCompany;"/>
      <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/Eneta.Companies.Default.Layout.aspx" />
      <AllUsersWebPart WebPartZoneID="Middle" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <metaData>
                <type name="Eneta.Portal.Companies.WebParts.CompanyEditWebPart.CompanyEditWebPart, Eneta.Portal.Companies, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                <importErrorMessage>Cannot import CompanyEditWebPart.</importErrorMessage>
              </metaData>
              <data>
                <properties>
                  <property name="AllowZoneChange" type="bool">True</property>
                  <property name="ExportMode" type="exportmode">All</property>
                  <property name="HelpUrl" type="string" />
                  <property name="Hidden" type="bool">False</property>
                  <property name="TitleUrl" type="string" />
                  <property name="AllowConnect" type="bool">True</property>
                  <property name="Description" type="string" />
                  <property name="AllowHide" type="bool">True</property>
                  <property name="AllowMinimize" type="bool">True</property>
                  <property name="Title" type="string">Eneta portal company editor web part</property>
                  <property name="ChromeType" type="chrometype">None</property>
                  <property name="MissingAssembly" type="string">Cannot import CompanyEditWebPart.</property>
                  <property name="Width" type="string" />
                  <property name="Height" type="string" />
                  <property name="HelpMode" type="helpmode">Modeless</property>
                  <property name="CatalogIconImageUrl" type="string" />
                  <property name="AllowEdit" type="bool">True</property>
                  <property name="TitleIconImageUrl" type="string" />
                  <property name="Direction" type="direction">NotSet</property>
                  <property name="AllowClose" type="bool">True</property>
                  <property name="ChromeState" type="chromestate">Normal</property>
                </properties>
              </data>
            </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
    </File>
    <File Type="GhostableInLibrary" Name="default.aspx" Url="default.aspx">
      <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/Eneta.Companies.Default.Layout.aspx" />
      <Property Name="Title" Value="$Resources:Companies,CompaniesTitle;"/>
      <Property Name="ContentType" Value="Welcome Page" />
      <AllUsersWebPart WebPartZoneID="TopZone" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
                <metaData>
                    <type name="Eneta.Portal.Companies.WebParts.IOHeader.IOHeader, Eneta.Portal.Companies, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                    <importErrorMessage>Cannot import IOHeader Web Part.</importErrorMessage>
                </metaData>
                <data>
                    <properties>
                      <property name="Title" type="string">IOHeader Web Part</property>
                      <property name="Description" type="string">IOHeader Description</property>
                      <property name="ChromeState" type="chromestate">Normal</property>
                      <property name="ChromeType" type="chrometype">None</property>
                    </properties>
                </data>
            </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
      <AllUsersWebPart WebPartZoneID="TopZone" WebPartOrder="2">
        <![CDATA[
          <webParts>
              <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
                  <metaData>
                      <type name="Eneta.Portal.Companies.WebParts.IOFilters.IOFilters, Eneta.Portal.Companies, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                      <importErrorMessage>Cannot import IOFilters Web Part.</importErrorMessage>
                  </metaData>
                  <data>
                      <properties>
                          <property name="Title" type="string">IOFilters Web Part</property>
                          <property name="Description" type="string">IOFilters Description</property>
                          <property name="ChromeState" type="chromestate">Normal</property>
                          <property name="ChromeType" type="chrometype">None</property>
                      </properties>
                  </data>
              </webPart>
          </webParts>  
        ]]>
      </AllUsersWebPart>
      <AllUsersWebPart WebPartZoneID="MiddleZone" WebPartOrder="1">
        <![CDATA[
          <webParts>
              <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
                  <metaData>
                      <type name="Eneta.Portal.Companies.WebParts.IOResults.IOResults, Eneta.Portal.Companies, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                      <importErrorMessage>Cannot import IOResults Web Part.</importErrorMessage>
                  </metaData>
                  <data>
                      <properties>
                          <property name="Title" type="string">IOResults Web Part</property>
                          <property name="Description" type="string">IOResults Description</property>
                          <property name="ChromeState" type="chromestate">Normal</property> 
                          <property name="ChromeType" type="chrometype">None</property>
                      </properties>
                  </data>
              </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
    </File>
  </Module>
</Elements>